package com.rock.goc.data.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rock.common.utils.PageUtils;
import com.rock.common.utils.Query;

import com.rock.goc.data.dao.ProcessInfoParamDao;
import com.rock.goc.data.entity.ProcessInfoParamEntity;
import com.rock.goc.data.service.ProcessInfoParamService;


@Service("processInfoParamService")
public class ProcessInfoParamServiceImpl extends ServiceImpl<ProcessInfoParamDao, ProcessInfoParamEntity> implements ProcessInfoParamService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ProcessInfoParamEntity> page = this.page(
                new Query<ProcessInfoParamEntity>().getPage(params),
                new QueryWrapper<ProcessInfoParamEntity>()
        );

        return new PageUtils(page);
    }

}